// { "framework": "Vue" }
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {

	var __vue_exports__, __vue_options__
	var __vue_styles__ = []

	/* styles */
	__vue_styles__.push(__webpack_require__(1)
	)

	/* script */
	__vue_exports__ = __webpack_require__(2)

	/* template */
	var __vue_template__ = __webpack_require__(3)
	__vue_options__ = __vue_exports__ = __vue_exports__ || {}
	if (
	  typeof __vue_exports__.default === "object" ||
	  typeof __vue_exports__.default === "function"
	) {
	if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
	__vue_options__ = __vue_exports__ = __vue_exports__.default
	}
	if (typeof __vue_options__ === "function") {
	  __vue_options__ = __vue_options__.options
	}
	__vue_options__.__file = "/Users/Adiljan/Documents/Press/src/home/sc.vue"
	__vue_options__.render = __vue_template__.render
	__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
	__vue_options__._scopeId = "data-v-2b4c906c"
	__vue_options__.style = __vue_options__.style || {}
	__vue_styles__.forEach(function (module) {
	  for (var name in module) {
	    __vue_options__.style[name] = module[name]
	  }
	})
	if (typeof __register_static_styles__ === "function") {
	  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
	}

	module.exports = __vue_exports__
	module.exports.el = 'true'
	new Vue(module.exports)


/***/ }),
/* 1 */
/***/ (function(module, exports) {

	module.exports = {
	  "wrapper": {
	    "marginTop": 400
	  },
	  "expert-main": {
	    "height": 350,
	    "width": 750
	  },
	  "ei-div-root": {
	    "position": "fixed",
	    "top": 0,
	    "bottom": 0,
	    "left": 0,
	    "right": 0,
	    "backgroundColor": "#ffffff"
	  },
	  "ei-div-book": {
	    "height": 340,
	    "width": 215,
	    "backgroundColor": "#FF0000",
	    "alignItems": "center"
	  },
	  "ei-book-image": {
	    "width": 165,
	    "height": 220,
	    "backgroundColor": "#ff00ff"
	  },
	  "ei-book-text": {
	    "flex": 1,
	    "alignItems": "center",
	    "justifyContent": "space-between"
	  },
	  "scroller": {
	    "marginTop": 100,
	    "width": 700,
	    "height": 700,
	    "borderWidth": 3,
	    "borderStyle": "solid",
	    "borderColor": "rgb(162,217,192)",
	    "marginLeft": 25
	  },
	  "row": {
	    "height": 100,
	    "flexDirection": "column",
	    "justifyContent": "center",
	    "paddingLeft": 30,
	    "borderBottomWidth": 2,
	    "borderBottomStyle": "solid",
	    "borderBottomColor": "#DDDDDD"
	  },
	  "text": {
	    "fontSize": 45,
	    "color": "#666666"
	  },
	  "group": {
	    "flexDirection": "row",
	    "justifyContent": "center",
	    "marginTop": 60
	  },
	  "button": {
	    "width": 200,
	    "paddingTop": 20,
	    "paddingBottom": 20,
	    "fontSize": 40,
	    "marginLeft": 30,
	    "marginRight": 30,
	    "textAlign": "center",
	    "color": "#41B883",
	    "borderWidth": 2,
	    "borderStyle": "solid",
	    "borderColor": "rgb(162,217,192)",
	    "backgroundColor": "rgba(162,217,192,0.2)"
	  }
	}

/***/ }),
/* 2 */
/***/ (function(module, exports) {

	'use strict';

	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//

	var stream = weex.requireModule('stream') || {};
	var modal;
	var storage;

	var wxrouter;
	var self;
	var dom = weex.requireModule('dom');
	module.exports = {
	  data: function data() {
	    return {
	      lang: '',
	      rows: [],
	      bookLists: [{ name: '早些时候', author: '加布里埃尔', price: '￥27.00', img: '' }, { name: '天上再见', author: '皮耶尔·皮得', price: '￥48.50', img: '' }, { name: '饥饿', author: '兰·沙曼萨', price: '￥49.00', img: '' }, { name: '黑色时刻', author: '卡林·福萨姆', price: '￥32.50', img: '' }, { name: '悟空传', author: '今何在', price: '￥28.00', img: '' }, { name: '饥饿', author: '兰·沙曼萨', price: '￥49.00', img: '' }, { name: '黑色时刻', author: '卡林·福萨姆', price: '￥32.50', img: '' }, { name: '悟空传', author: '今何在', price: '￥28.00', img: '' }]
	    };
	  },
	  created: function created() {
	    self = this;
	    wxrouter = weex.requireModule('wxrouter');
	    storage = weex.requireModule('storage') || {};

	    for (var i = 0; i < 30; i++) {
	      self.rows.push('row ' + i);
	    }

	    var fonturl = self.gFontUrl;
	    var domModule = weex.requireModule('dom');
	    //目前支持ttf、woff文件，不支持svg、eot类型
	    domModule.addRule('fontFace', {
	      'fontFamily': "uyghurfont",
	      'src': "url(" + fonturl + ")"
	    });
	  },
	  methods: {
	    goto10: function goto10(count) {
	      var el = this.$refs.item10[0];
	      dom.scrollToElement(el, {});

	      var el2 = this.$refs.abc5[0];
	      dom.scrollToElement(el2, {});
	    },
	    goto20: function goto20(count) {
	      var el = this.$refs.item20[0];
	      dom.scrollToElement(el, { offset: 0 });

	      var el2 = this.$refs.abc1[0];
	      dom.scrollToElement(el2, {});
	    },
	    clickscroll: function clickscroll(e) {
	      console.log('滑动了X==' + e.contentOffset.x);
	      console.log('滑动了Y==' + e.contentOffset.y);
	    }
	  }
	};

/***/ }),
/* 3 */
/***/ (function(module, exports) {

	module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
	  return _c('div', {
	    staticClass: ["ei-div-root"]
	  }, [_c('scroller', {
	    staticClass: ["expert-main"],
	    staticStyle: {
	      position: "absolute",
	      top: "0px",
	      left: "0px",
	      right: "0px"
	    },
	    attrs: {
	      "scrollDirection": "horizontal",
	      "showScrollbar": "false"
	    },
	    on: {
	      "scroll": _vm.clickscroll
	    }
	  }, _vm._l((_vm.bookLists), function(item, index) {
	    return _c('div', {
	      ref: 'abc' + index,
	      refInFor: true,
	      staticClass: ["ei-div-book"]
	    }, [_c('image', {
	      staticClass: ["ei-book-image"]
	    }), _vm._m(0, true)])
	  })), _c('div', {
	    staticClass: ["wrapper"]
	  }, [_c('scroller', {
	    staticClass: ["scroller"]
	  }, _vm._l((_vm.rows), function(name, index) {
	    return _c('div', {
	      ref: 'item' + index,
	      refInFor: true,
	      staticClass: ["row"]
	    }, [_c('text', {
	      ref: 'text' + index,
	      refInFor: true,
	      staticClass: ["text"]
	    }, [_vm._v(_vm._s(name))])])
	  })), _c('div', {
	    staticClass: ["group"]
	  }, [_c('text', {
	    staticClass: ["button"],
	    on: {
	      "click": _vm.goto10
	    }
	  }, [_vm._v("Go to 10")]), _c('text', {
	    staticClass: ["button"],
	    on: {
	      "click": _vm.goto20
	    }
	  }, [_vm._v("Go to 20")])])])])
	},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
	  return _c('div', {
	    staticClass: ["ei-div-text"]
	  }, [_c('text', {
	    staticClass: ["ei-uyfont", "ei-book-text"]
	  }, [_vm._v("item.name")]), _c('text', {
	    staticClass: ["ei-uyfont", "ei-book-text"]
	  }, [_vm._v("item.author")]), _c('text', {
	    staticClass: ["ei-uyfont", "ei-book-text"]
	  }, [_vm._v("item.price")])])
	}]}
	module.exports.render._withStripped = true

/***/ })
/******/ ]);